package com.zh.note.huawei.onehundred.连续子串;

import java.util.Scanner;

/**
 * @Author: zhanghuan
 * @date: 2023/9/1 10:34
 * @description: create it
 *
 * AVERDXIVYERDIAN
 * RDXI
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // String t = sc.nextLine();
        // String p = sc.nextLine();
        String t = "AVERDXIVYERDIAN";
        String p = "RDXI";
        int i = t.indexOf(p);
        System.out.println(i);
    }
}
